package com.cq.ye1;

import com.cq.ReadOnly;
import com.cq.Writer;
import com.cq.ye1.BizDb;
import com.cq.ye1.BizDbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BizDbMapper {
    @ReadOnly
    long countByExample(BizDbExample example);

    @Writer
    int deleteByExample(BizDbExample example);

    @Writer
    int deleteByPrimaryKey(Integer id);

    @Writer
    int insert(BizDb record);

    @Writer
    int insertSelective(BizDb record);

    @ReadOnly
    List<BizDb> selectByExample(BizDbExample example);

    @ReadOnly
    BizDb selectByPrimaryKey(Integer id);

    @Writer
    int updateByExampleSelective(@Param("record") BizDb record, @Param("example") BizDbExample example);

    @Writer
    int updateByExample(@Param("record") BizDb record, @Param("example") BizDbExample example);

    @Writer
    int updateByPrimaryKeySelective(BizDb record);

    @Writer
    int updateByPrimaryKey(BizDb record);
}